If you have Python 3 version then try this in terminal: pip3 install wordcloud for python 2.7: pip install wordcloud